#if defined(TSINGMA_MX) || defined(TSINGMA_GX) || defined(ARCTIC)
#if (FEATURE_MODE == 0)
/**
 @file sys_tmm_monitor.h

 @date 2019-05-05

 @version v1.0

 The file contains tmmmonitor funcation
*/

#ifndef _SYS_TMM_MONITOR_H
#define _SYS_TMM_MONITOR_H
#ifdef __cplusplus
extern "C" {
#endif

/****************************************************************
 *
 * Header Files
 *
 ***************************************************************/
extern int32
sys_tmm_monitor_set_path_latency(uint8 lchip, void* p_cfg, uint8 enable);

extern int32
sys_tmm_monitor_get_path_latency(uint8 lchip, void* p_cfg, uint8 *enable);

extern int32
sys_tmm_monitor_get_path_latency_watermark(uint8 lchip, void* p_mon_watermark, uint16 channel_id);

extern int32
sys_tmm_monitor_clear_path_latency_watermark(uint8 lchip, void* p_mon_watermark, uint16 channel_id);

extern int32
sys_tmm_monitor_set_global_config(uint8 lchip, void* p_mon_cfg);

int32
sys_tmm_monitor_get_global_config(uint8 lchip, void* p_mon_cfg);

extern int32
sys_tmm_monitor_sync_data(uint8 lchip, void* p_data);

extern int32
sys_tmm_monitor_init(uint8 lchip);

extern int32
sys_tmm_monitor_deinit(uint8 lchip);

extern int32
sys_tmm_monitor_show_path(uint8 lchip);

#ifdef __cplusplus
}
#endif

#endif
#endif
#endif

